package com.ma.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.experimental.Accessors;


import java.io.Serializable;
import java.util.List;

/**
 * @ProjectName: project
 * @Package: com.ma.entity
 * @ClassName: Student
 * @Author: YHHHH
 * @Description:
 * @Date: 2021/3/7 20:52
 * @Version: 1.0
 */
@Data
@Accessors(chain = true)
@TableName("students")
public class Student implements Serializable {

    @TableId(value = "number")
    private String studentNumber;   //学生学号

    @TableField("password")
    private String studentPassword; //密码

    @TableField("name")
    private String studentName;     //姓名

    @TableField("phone")
    private String studentPhone;    //电话号码

    @TableField("email")
    private String studentEmail;    //邮箱

    @TableField("image")
    private String studentImage;    //头像

    @TableField("score")
    private Integer studentScore;   //学生得分

    @TableField("state")
    private Integer studentState;   //学生加入小组审核

    @TableField("mid")
    private Integer mid;

    @TableField("cid")
    private Integer cid;

    private Major studentMajor;     //专业

    private Classes studentClass;     //班级

    private Team studentTeam;       //小组

    private List<Files> files;      //学生上传的文件

}
